package com.java.advance.springmvc.service.impl;

import com.java.advance.springmvc.annotation.EnjoyService;
import com.java.advance.springmvc.service.JamesService;

/**
 * Created by aivin on 2019/4/1.
 */
@EnjoyService(value = "jamesService")
public class JamesServiceImpl implements JamesService {


    @Override
    public String query(String name, int age) {
        //Dao层访问Mybatis

        return "[name=" + name + ";age=" + age + "]";
    }
}
